package com.blobfish.mvc.base;

import java.util.List;

import com.blobfish.constant.ConstantWebContext;
import com.jfinal.core.Controller;
import com.jfinal.log.Log;

public class BaseController extends Controller {

	private static final Log log = Log.getLog(BaseController.class);
	
	/**
	 * 全局Service
	 */
	protected BaseService baseService;
	
	/**
	 * 全局变量
	 */
	protected String ids;			//主键
	//protected SplitPage splitPage;	//分页封装
	protected List<?> list;			//公共list
	//protected Syslog syslog;		//访问日志
	
	public void toUrl() {
		String url = getPara(ConstantWebContext.request_toUrl);
		render(url);
	}
}
